package shiyaner;
import java.util.Scanner;
public class TeST {
    public static void main(String[] args){
    	System.out.println("输入选手数：");
    	Scanner in=new Scanner(System.in);
    	int n1=in.nextInt();
    	System.out.println("输入评委数：");
    	int n2=in.nextInt();
    	for(int i=0;i<n1;i++){
    		System.out.println("输入选手编号：");
    		int no1=in.nextInt();
        	no1=in.nextInt();
    		System.out.println("输入选手姓名：");
    		String str1=new String();
        	str1=in.next();
        	double[] a=new double[n2];
    		System.out.println("请为"+no1+"号选手打分：");
            for(int j=0;j<n2;j++){
            	System.out.println(a[j]);
            }
            System.out.println("去掉一个最高分:"+Grade.max(a[n2]));
            System.out.println("去掉一个最低分:"+Grade.min(a[n2]));
            System.out.println(no1+"号选手最后得分:"+Grade.average(a[n2]));
    	}
    }
}
